//==============================================================================
// NXoutposttower_anim.txt
//==============================================================================
Made by Nox for the Age of Wrath mod.
//==============================================================================
Import NXMyrspearmen_anim.txt
import spear_defines_anim.txt
import Construction_defines_anim.txt
//==============================================================================
//==============================================================================
define Head
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
   }
}
//==============================================================================
define NXmyrmiddonshield
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version 
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
   }
}
//==============================================================================
define Hoplite
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual NXmyrspearmen_idleA
					connect RightHand Spear hotspot
					connect LeftForearm NXmyrmiddonshield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual NXmyrspearmen_idleA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect RightHand Spear hotspot
					connect LeftForearm NXmyrmiddonshield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual NXmyrspearmen_idleA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect RightHand Spear hotspot
					connect LeftForearm NXmyrmiddonshield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual NXmyrspearmen_idleA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
					connect RightHand Spear hotspot
					connect LeftForearm NXmyrmiddonshield hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny NXmyrspearmen_idleA
				}
			}
		}
	}
}
//==============================================================================
anim None
{
   SetSelector
   {
		TechLogic none/age 2/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual NXoutposttower
					connect attachpoint hoplite hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage1
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage2
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage3
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual NXoutposttower
					connect attachpoint hoplite hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage1
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage2
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage3
					connect ATTACHPOINT empower hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual NXoutposttower
					connect attachpoint hoplite hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage1
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage2
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage3
					connect ATTACHPOINT empower hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual NXoutposttower
					connect attachpoint hoplite hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage1
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage2
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Outpoststage3
					connect ATTACHPOINT empower hotspot
				}
			}
		}
	}
}

//==============================================================================
